package com.ruoyi.business.domain;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 街道台账对象 bus_street_ledger
 * 
 * @author ling
 * @date 2024-07-11
 */
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)

@Data
public class BusStreetLedger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 街道名称 */
    @Excel(name = "街道名称")
    private String name;

    /** 街道图 */
    private String photo;

    /** 四至 */
    @Excel(name = "四至")
    private String scope;

    /** 备注 */
    @Excel(name = "备注")
    private String details;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("photo", getPhoto())
            .append("scope", getScope())
            .append("details", getDetails())
                .append("createTime", getCreateTime())
            .toString();
    }
}
